<?xml version="1.0"?>
<sceneDetection>
  <commonSetting>
    <blockWidth>32</blockWidth>
	<blockHeight>32</blockHeight>
	<frameNumToSave>3</frameNumToSave>
	<downsampleFactor>4</downsampleFactor>
  </commonSetting>

  <hdr>
    <indoor_iso>800</indoor_iso>
	<indoor_expoTime>60</indoor_expoTime>
	<indoor_lowExpoRange>10</indoor_lowExpoRange>
	<indoor_highExpoRange>8</indoor_highExpoRange>
	<indoor_lowExpoRangeExtended>5</indoor_lowExpoRangeExtended>
	<indoor_highExpoRangeExtended>5</indoor_highExpoRangeExtended>
	<indoor_lowRatioThre>0.03</indoor_lowRatioThre>
	<indoor_highRatioThre>0.03</indoor_highRatioThre>
    <indoor_face_lowExpoRange>5</indoor_face_lowExpoRange>
    <indoor_face_highExpoRange>8</indoor_face_highExpoRange>
    <indoor_face_lowExpoRangeExtended>5</indoor_face_lowExpoRangeExtended>
    <indoor_face_highExpoRangeExtended>5</indoor_face_highExpoRangeExtended>
    <indoor_face_lowRatioThre>0.05</indoor_face_lowRatioThre>
    <indoor_face_highRatioThre>0.05</indoor_face_highRatioThre>

	<outdoor_iso>200</outdoor_iso>
	<outdoor_expoTime>20</outdoor_expoTime>
	<outdoor_minRevisedBrightness>418.939</outdoor_minRevisedBrightness>
	<outdoor_lowExpoRange>10</outdoor_lowExpoRange>
	<outdoor_highExpoRange>8</outdoor_highExpoRange>
	<outdoor_lowExpoRangeExtended>5</outdoor_lowExpoRangeExtended>
	<outdoor_highExpoRangeExtended>5</outdoor_highExpoRangeExtended>
	<outdoor_lowRatioThre>0.03</outdoor_lowRatioThre>
	<outdoor_highRatioThre>0.03</outdoor_highRatioThre>
    <outdoor_face_lowExpoRange>5</outdoor_face_lowExpoRange>
    <outdoor_face_highExpoRange>8</outdoor_face_highExpoRange>
    <outdoor_face_lowExpoRangeExtended>5</outdoor_face_lowExpoRangeExtended>
    <outdoor_face_highExpoRangeExtended>5</outdoor_face_highExpoRangeExtended>
    <outdoor_face_lowRatioThre>0.05</outdoor_face_lowRatioThre>
    <outdoor_face_highRatioThre>0.05</outdoor_face_highRatioThre>

	<night_iso>100</night_iso>
    <night_expoTime>10</night_expoTime>
    <night_maxRevisedBrightness>3</night_maxRevisedBrightness>
    <night_lowExpoRange>10</night_lowExpoRange>
    <night_highExpoRange>8</night_highExpoRange>
    <night_lowExpoRangeExtended>5</night_lowExpoRangeExtended>
    <night_highExpoRangeExtended>5</night_highExpoRangeExtended>
    <night_lowRatioThre>0.03</night_lowRatioThre>
    <night_highRatioThre>0.03</night_highRatioThre>
    <night_face_lowExpoRange>5</night_face_lowExpoRange>
    <night_face_highExpoRange>8</night_face_highExpoRange>
    <night_face_lowExpoRangeExtended>5</night_face_lowExpoRangeExtended>
    <night_face_highExpoRangeExtended>5</night_face_highExpoRangeExtended>
    <night_face_lowRatioThre>0.05</night_face_lowRatioThre>
    <night_face_highRatioThre>0.05</night_face_highRatioThre>

    <default_lowExpoRange>10</default_lowExpoRange>
    <default_highExpoRange>8</default_highExpoRange>
    <default_lowExpoRangeExtended>5</default_lowExpoRangeExtended>
    <default_highExpoRangeExtended>5</default_highExpoRangeExtended>
    <default_lowRatioThre>0.03</default_lowRatioThre>
    <default_highRatioThre>0.03</default_highRatioThre>

	<touch_lowExpoRange>10</touch_lowExpoRange>
	<touch_highExpoRange>8</touch_highExpoRange>
	<touch_lowExpoRangeExtended>5</touch_lowExpoRangeExtended>
	<touch_highExpoRangeExtended>5</touch_highExpoRangeExtended>
	<touch_lowRatioThre>0.03</touch_lowRatioThre>
	<touch_highRatioThre>0.03</touch_highRatioThre>
  </hdr>

  <!--add by fengchaoyu for motion detection -->
  <motion>
	<motion_frameDiffThre>17.85</motion_frameDiffThre>
	<motion_blockWidth>32</motion_blockWidth>
	<motion_blockHeight>32</motion_blockHeight>
	<motion_judgeMove>0.015</motion_judgeMove>
	<motion_frameGap1>1</motion_frameGap1>
	<motion_frameGap2>1</motion_frameGap2>
      <motion_roiWidRate>1</motion_roiWidRate>
	<motion_roiHeiRate>1</motion_roiHeiRate>
	<motion_downsample>4</motion_downsample>
	<motion_startIndex>7</motion_startIndex>
	<motion_indoorExpoTime>40</motion_indoorExpoTime>

	<motion_threStaGap>50.0</motion_threStaGap>
	<motion_threEndGap>220.0</motion_threEndGap>
	<motion_threFirStage>30.0</motion_threFirStage>
	<motion_threSecStageK>0.2</motion_threSecStageK>
	<motion_threThirStage>20.0</motion_threThirStage>

	<motion_faceLeftXThre>40</motion_faceLeftXThre>
	<motion_faceTopYThre>40</motion_faceTopYThre>
	<motion_faceRollThre>20</motion_faceRollThre>
	<motion_facePitchThre>20</motion_facePitchThre>
	<motion_faceYawThre>30</motion_faceYawThre>
	<motion_faceSizeThre>40</motion_faceSizeThre>
  </motion>

  <!--add by fengchaoyu for wideangle recommend-->
  <wideangle>
        <wideangle_horizontal>180</wideangle_horizontal>
	<wideangle_horiThre>10</wideangle_horiThre>
        <wideangle_vertical>270</wideangle_vertical>
        <wideangle_vertiThre>10</wideangle_vertiThre>
        <wideangle_minFaceNum>3</wideangle_minFaceNum>
        <wideangle_faceDisRatio>2.0</wideangle_faceDisRatio>
        <wideangle_faceSizeRatio>0.5</wideangle_faceSizeRatio>
	<wideangle_edgeDisRatio>0.1</wideangle_edgeDisRatio>
  </wideangle>

  <!--add by gongqiang for nightView recommend-->
  <nightview>
        <nightview_lowthresh>50</nightview_lowthresh>
	      <nightview_highthresh>150</nightview_highthresh>
        <nightview_lowratio>0.8</nightview_lowratio>
        <nightview_highratio>0.3</nightview_highratio>
  </nightview>

  <dxo_nightview_0 feature="wide_default" enable="true">
      <dxo_nightview_extreme_dark_lux>335.0</dxo_nightview_extreme_dark_lux>
      <dxo_nightview_noface_param>
            <dxo_nightview_lux_range1>
                  <se_lux_index_start>250</se_lux_index_start>
                  <se_light>17</se_light>
                  <se_bright_ratio_thresh>0.005</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.25</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.7</se_middle_ratio_thresh>
            </dxo_nightview_lux_range1>
            <dxo_nightview_lux_range2>
                  <se_lux_index_start>600</se_lux_index_start>
                  <se_light>12</se_light>
                  <se_bright_ratio_thresh>0.01</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.36</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.45</se_middle_ratio_thresh>
            </dxo_nightview_lux_range2>
            <dxo_nightview_lux_range3>
                  <se_lux_index_start>600</se_lux_index_start>
                  <se_light>10</se_light>
                  <se_bright_ratio_thresh>0.009</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.24</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.42</se_middle_ratio_thresh>
            </dxo_nightview_lux_range3>
      </dxo_nightview_noface_param>
      <dxo_nightview_face_param>
            <dxo_nightview_lux_range1>
                  <se_lux_index_start>267</se_lux_index_start>
                  <se_light>21</se_light>
                  <se_bright_ratio_thresh>0.003</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.20</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.7</se_middle_ratio_thresh>
            </dxo_nightview_lux_range1>
            <dxo_nightview_lux_range2>
                  <se_lux_index_start>600</se_lux_index_start>
                  <se_light>14</se_light>
                  <se_bright_ratio_thresh>0.007</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.1</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.64</se_middle_ratio_thresh>
            </dxo_nightview_lux_range2>
      </dxo_nightview_face_param>
  </dxo_nightview_0>

  <dxo_nightview_1 feature="wide2" enable="true">
      <dxo_nightview_extreme_dark_lux>385.0</dxo_nightview_extreme_dark_lux>
      <dxo_nightview_noface_param>
            <dxo_nightview_lux_range1>
                  <se_lux_index_start>260</se_lux_index_start>
                  <se_light>26</se_light>
                  <se_bright_ratio_thresh>0.005</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.21</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.5</se_middle_ratio_thresh>
            </dxo_nightview_lux_range1>
            <dxo_nightview_lux_range2>
                  <se_lux_index_start>310</se_lux_index_start>
                  <se_light>12</se_light>
                  <se_bright_ratio_thresh>0.01</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.36</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.45</se_middle_ratio_thresh>
            </dxo_nightview_lux_range2>
            <dxo_nightview_lux_range3>
                  <se_lux_index_start>345</se_lux_index_start>
                  <se_light>10</se_light>
                  <se_bright_ratio_thresh>0.009</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.24</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.42</se_middle_ratio_thresh>
            </dxo_nightview_lux_range3>
      </dxo_nightview_noface_param>
      <dxo_nightview_face_param>
            <dxo_nightview_lux_range1>
                  <se_lux_index_start>265</se_lux_index_start>
                  <se_light>21</se_light>
                  <se_bright_ratio_thresh>0.01</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.08</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.5</se_middle_ratio_thresh>
            </dxo_nightview_lux_range1>
            <dxo_nightview_lux_range2>
                  <se_lux_index_start>325</se_lux_index_start>
                  <se_light>14</se_light>
                  <se_bright_ratio_thresh>0.007</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.1</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.64</se_middle_ratio_thresh>
            </dxo_nightview_lux_range2>
      </dxo_nightview_face_param>
  </dxo_nightview_1>

  <dxo_nightview_2 feature="uw" enable="true">
      <dxo_nightview_extreme_dark_lux>385.0</dxo_nightview_extreme_dark_lux>
      <dxo_nightview_noface_param>
            <dxo_nightview_lux_range1>
                  <se_lux_index_start>260</se_lux_index_start>
                  <se_light>26</se_light>
                  <se_bright_ratio_thresh>0.005</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.21</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.5</se_middle_ratio_thresh>
            </dxo_nightview_lux_range1>
            <dxo_nightview_lux_range2>
                  <se_lux_index_start>310</se_lux_index_start>
                  <se_light>12</se_light>
                  <se_bright_ratio_thresh>0.01</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.36</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.45</se_middle_ratio_thresh>
            </dxo_nightview_lux_range2>
            <dxo_nightview_lux_range3>
                  <se_lux_index_start>345</se_lux_index_start>
                  <se_light>10</se_light>
                  <se_bright_ratio_thresh>0.009</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.24</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.42</se_middle_ratio_thresh>
            </dxo_nightview_lux_range3>
      </dxo_nightview_noface_param>
      <dxo_nightview_face_param>
            <dxo_nightview_lux_range1>
                  <se_lux_index_start>265</se_lux_index_start>
                  <se_light>21</se_light>
                  <se_bright_ratio_thresh>0.01</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.08</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.5</se_middle_ratio_thresh>
            </dxo_nightview_lux_range1>
            <dxo_nightview_lux_range2>
                  <se_lux_index_start>325</se_lux_index_start>
                  <se_light>14</se_light>
                  <se_bright_ratio_thresh>0.007</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.1</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.64</se_middle_ratio_thresh>
            </dxo_nightview_lux_range2>
      </dxo_nightview_face_param>
  </dxo_nightview_2>

  <dxo_nightview_3 feature="tele" enable="true">
      <dxo_nightview_extreme_dark_lux>385.0</dxo_nightview_extreme_dark_lux>
      <dxo_nightview_noface_param>
            <dxo_nightview_lux_range1>
                  <se_lux_index_start>260</se_lux_index_start>
                  <se_light>26</se_light>
                  <se_bright_ratio_thresh>0.005</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.21</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.5</se_middle_ratio_thresh>
            </dxo_nightview_lux_range1>
            <dxo_nightview_lux_range2>
                  <se_lux_index_start>310</se_lux_index_start>
                  <se_light>12</se_light>
                  <se_bright_ratio_thresh>0.01</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.36</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.45</se_middle_ratio_thresh>
            </dxo_nightview_lux_range2>
            <dxo_nightview_lux_range3>
                  <se_lux_index_start>345</se_lux_index_start>
                  <se_light>10</se_light>
                  <se_bright_ratio_thresh>0.009</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.24</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.42</se_middle_ratio_thresh>
            </dxo_nightview_lux_range3>
      </dxo_nightview_noface_param>
      <dxo_nightview_face_param>
            <dxo_nightview_lux_range1>
                  <se_lux_index_start>290</se_lux_index_start>
                  <se_light>21</se_light>
                  <se_bright_ratio_thresh>0.01</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.08</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.5</se_middle_ratio_thresh>
            </dxo_nightview_lux_range1>
            <dxo_nightview_lux_range2>
                  <se_lux_index_start>325</se_lux_index_start>
                  <se_light>14</se_light>
                  <se_bright_ratio_thresh>0.007</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.1</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.64</se_middle_ratio_thresh>
            </dxo_nightview_lux_range2>
      </dxo_nightview_face_param>
  </dxo_nightview_3>

  <dxo_nightview_4 feature="bokeh" enable="true">
      <dxo_nightview_extreme_dark_lux>340.0</dxo_nightview_extreme_dark_lux>
      <dxo_nightview_noface_param>
            <dxo_nightview_lux_range1>
                  <se_lux_index_start>272</se_lux_index_start>
                  <se_light>16</se_light>
                  <se_bright_ratio_thresh>0.006</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.17</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.7</se_middle_ratio_thresh>
            </dxo_nightview_lux_range1>
            <dxo_nightview_lux_range2>
                  <se_lux_index_start>600</se_lux_index_start>
                  <se_light>12</se_light>
                  <se_bright_ratio_thresh>0.01</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.36</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.45</se_middle_ratio_thresh>
            </dxo_nightview_lux_range2>
            <dxo_nightview_lux_range3>
                  <se_lux_index_start>600</se_lux_index_start>
                  <se_light>10</se_light>
                  <se_bright_ratio_thresh>0.003</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.1</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.61</se_middle_ratio_thresh>
            </dxo_nightview_lux_range3>
      </dxo_nightview_noface_param>
      <dxo_nightview_face_param>
            <dxo_nightview_lux_range1>
                  <se_lux_index_start>262</se_lux_index_start>
                  <se_light>21</se_light>
                  <se_bright_ratio_thresh>0.003</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.1</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.7</se_middle_ratio_thresh>
            </dxo_nightview_lux_range1>
            <dxo_nightview_lux_range2>
                  <se_lux_index_start>600</se_lux_index_start>
                  <se_light>14</se_light>
                  <se_bright_ratio_thresh>0.007</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.1</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.64</se_middle_ratio_thresh>
            </dxo_nightview_lux_range2>
      </dxo_nightview_face_param>
  </dxo_nightview_4>

  <dxo_nightview_5 feature="bokeh_2x" enable="true">
      <dxo_nightview_extreme_dark_lux>385.0</dxo_nightview_extreme_dark_lux>
      <dxo_nightview_noface_param>
            <dxo_nightview_lux_range1>
                  <se_lux_index_start>260</se_lux_index_start>
                  <se_light>26</se_light>
                  <se_bright_ratio_thresh>0.005</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.21</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.5</se_middle_ratio_thresh>
            </dxo_nightview_lux_range1>
            <dxo_nightview_lux_range2>
                  <se_lux_index_start>310</se_lux_index_start>
                  <se_light>12</se_light>
                  <se_bright_ratio_thresh>0.01</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.36</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.45</se_middle_ratio_thresh>
            </dxo_nightview_lux_range2>
            <dxo_nightview_lux_range3>
                  <se_lux_index_start>345</se_lux_index_start>
                  <se_light>10</se_light>
                  <se_bright_ratio_thresh>0.009</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.24</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.42</se_middle_ratio_thresh>
            </dxo_nightview_lux_range3>
      </dxo_nightview_noface_param>
      <dxo_nightview_face_param>
            <dxo_nightview_lux_range1>
                  <se_lux_index_start>265</se_lux_index_start>
                  <se_light>21</se_light>
                  <se_bright_ratio_thresh>0.01</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.08</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.5</se_middle_ratio_thresh>
            </dxo_nightview_lux_range1>
            <dxo_nightview_lux_range2>
                  <se_lux_index_start>325</se_lux_index_start>
                  <se_light>14</se_light>
                  <se_bright_ratio_thresh>0.007</se_bright_ratio_thresh>
                  <se_dark_ratio_thresh>0.1</se_dark_ratio_thresh>
                  <se_middle_ratio_thresh>0.64</se_middle_ratio_thresh>
            </dxo_nightview_lux_range2>
      </dxo_nightview_face_param>
  </dxo_nightview_5>

  <dxo_se_default_param>
	  <dxo_nightview_mlight>80.0</dxo_nightview_mlight>
        <dxo_nightview_iso>1000.0</dxo_nightview_iso>
        <dxo_nightview_expo_time>20.0</dxo_nightview_expo_time>
        <dxo_nightview_bright_thresh>234</dxo_nightview_bright_thresh>
        <dxo_nightview_dark_thresh>40</dxo_nightview_dark_thresh>
        <dxo_middle_low>80</dxo_middle_low>
        <dxo_middle_high>200</dxo_middle_high>
        <dxo_nightview_lux_index_margin>20</dxo_nightview_lux_index_margin>
        <dxo_nightview_light_margin>2</dxo_nightview_light_margin>
        <dxo_nightview_dark_margin>0.04</dxo_nightview_dark_margin>
        <dxo_nightview_middle_margin>0.05</dxo_nightview_middle_margin>
        <dxo_nightview_bright_margin>0</dxo_nightview_bright_margin>
        <dxo_nightview_similar_threshold>0.85</dxo_nightview_similar_threshold>
        <dxo_nightview_se_center_meanlight_thresh>60</dxo_nightview_se_center_meanlight_thresh>
        <dxo_nightview_se_around_meanlight_thresh>100</dxo_nightview_se_around_meanlight_thresh>
        <dxo_nightview_se_center_luxindex_thresh>300</dxo_nightview_se_center_luxindex_thresh>
        <dxo_nightview_se_around_luxindex_thresh>400</dxo_nightview_se_around_luxindex_thresh>
        <dxo_nightview_se_center_ADRC_thresh>1</dxo_nightview_se_center_ADRC_thresh>
        <dxo_nightview_se_around_ADRC_thresh>2</dxo_nightview_se_around_ADRC_thresh>
        <dxo_nightview_se_extrme_bright_ratio>0.08</dxo_nightview_se_extrme_bright_ratio>
        <dxo_se_smooth_enable>1</dxo_se_smooth_enable>
        <dxo_se_smooth_frames>3</dxo_se_smooth_frames>
        <dxo_se_smooth_switch_frames>8</dxo_se_smooth_switch_frames>
  </dxo_se_default_param>

  <hdr_face>
        <hdr_bright_thresh>240</hdr_bright_thresh>
        <hdr_bright_ratio>0.008</hdr_bright_ratio>
        <face_brightness_thresh>200</face_brightness_thresh>
        <hdr_light_thresh>10</hdr_light_thresh>
  </hdr_face>

  <image_motion>
        <velocity_thresh>0.1</velocity_thresh>
        <percentage_thresh>0.2</percentage_thresh>
        <velocity_slow_thresh>24.0</velocity_slow_thresh>
        <velocity_middle_thresh>80.0</velocity_middle_thresh>
        <velocity_fast_thresh>180.0</velocity_fast_thresh>
        <velocity_downsample_factor>8</velocity_downsample_factor>
        <velocity_max_ratio>0.021</velocity_max_ratio>
        <velocity_weight_block_inside>0.25</velocity_weight_block_inside>
        <velocity_weight_block_middle>0.125</velocity_weight_block_middle>
        <velocity_gaus_kernel_sigma>0.4</velocity_gaus_kernel_sigma>
        <velocity_increase_ev_type>0</velocity_increase_ev_type>
  </image_motion>

  <tripod_pattern>
        <tripod_enter_threshold>0.016</tripod_enter_threshold>
        <tripod_quit_threshold>0.48</tripod_quit_threshold>
        <tripod_wait_frames>27</tripod_wait_frames>
        <tripod_enter_frames>14</tripod_enter_frames>
  </tripod_pattern>

  <ell_mode>
        <ell_lux_index_thres>530</ell_lux_index_thres>
        <ell_light_thres>10</ell_light_thres>
        <ell_bright_ratio_thres>0.01</ell_bright_ratio_thres>
        <ell_middle_ratio_thres>0.4</ell_middle_ratio_thres>
        <ell_lux_index_margin>5</ell_lux_index_margin>
        <ell_light_margin>2</ell_light_margin>
        <ell_similar_hist_thres>0.85</ell_similar_hist_thres>
        <ell_bright_thres>240</ell_bright_thres>
        <ell_over_exp_ratio_thres>1</ell_over_exp_ratio_thres>
  </ell_mode>

  <hdr_trigger_0 feature="wide" enable="true">
        <hdr_dead_dark_thres>10</hdr_dead_dark_thres>
        <hdr_over_exp_thres>254</hdr_over_exp_thres>
        <hdr_dead_dark_ratio_thres>0.11</hdr_dead_dark_ratio_thres>
        <hdr_over_exp_ratio_thres>0.012</hdr_over_exp_ratio_thres>
        <hdr_dead_centerdark_ratio_thres>0.2</hdr_dead_centerdark_ratio_thres>
        <hdr_over_centerexp_ratio_thres>0.016</hdr_over_centerexp_ratio_thres>
  </hdr_trigger_0>

  <hdr_trigger_1 feature="uw" enable="true">
        <hdr_dead_dark_thres>10</hdr_dead_dark_thres>
        <hdr_over_exp_thres>254</hdr_over_exp_thres>
        <hdr_dead_dark_ratio_thres>0.05</hdr_dead_dark_ratio_thres>
        <hdr_over_exp_ratio_thres>0.01</hdr_over_exp_ratio_thres>
        <hdr_dead_centerdark_ratio_thres>0.2</hdr_dead_centerdark_ratio_thres>
        <hdr_over_centerexp_ratio_thres>0.016</hdr_over_centerexp_ratio_thres>
  </hdr_trigger_1>

  <hdr_trigger_2 feature="tele" enable="true">
        <hdr_dead_dark_thres>10</hdr_dead_dark_thres>
        <hdr_over_exp_thres>254</hdr_over_exp_thres>
        <hdr_dead_dark_ratio_thres>0.18</hdr_dead_dark_ratio_thres>
        <hdr_over_exp_ratio_thres>0.20</hdr_over_exp_ratio_thres>
        <hdr_dead_centerdark_ratio_thres>0.05</hdr_dead_centerdark_ratio_thres>
        <hdr_over_centerexp_ratio_thres>0.005</hdr_over_centerexp_ratio_thres>
  </hdr_trigger_2>

  <hdr_trigger_3 feature="front" enable="true">
        <hdr_dead_dark_thres>10</hdr_dead_dark_thres>
        <hdr_over_exp_thres>254</hdr_over_exp_thres>
        <hdr_dead_dark_ratio_thres>0.05</hdr_dead_dark_ratio_thres>
        <hdr_over_exp_ratio_thres>0.005</hdr_over_exp_ratio_thres>
        <hdr_dead_centerdark_ratio_thres>0.05</hdr_dead_centerdark_ratio_thres>
        <hdr_over_centerexp_ratio_thres>0.005</hdr_over_centerexp_ratio_thres>
  </hdr_trigger_3>

  <hdr_trigger_4 feature="bokeh1x" enable="true">
        <hdr_dead_dark_thres>10</hdr_dead_dark_thres>
        <hdr_over_exp_thres>254</hdr_over_exp_thres>
        <hdr_dead_dark_ratio_thres>0.05</hdr_dead_dark_ratio_thres>
        <hdr_over_exp_ratio_thres>0.005</hdr_over_exp_ratio_thres>
        <hdr_dead_centerdark_ratio_thres>0.05</hdr_dead_centerdark_ratio_thres>
        <hdr_over_centerexp_ratio_thres>0.005</hdr_over_centerexp_ratio_thres>
  </hdr_trigger_4>

  <hdr_trigger_5 feature="bokeh2x" enable="true">
        <hdr_dead_dark_thres>10</hdr_dead_dark_thres>
        <hdr_over_exp_thres>254</hdr_over_exp_thres>
        <hdr_dead_dark_ratio_thres>0.09</hdr_dead_dark_ratio_thres>
        <hdr_over_exp_ratio_thres>0.02</hdr_over_exp_ratio_thres>
        <hdr_dead_centerdark_ratio_thres>0.05</hdr_dead_centerdark_ratio_thres>
        <hdr_over_centerexp_ratio_thres>0.005</hdr_over_centerexp_ratio_thres>
  </hdr_trigger_5>

  <hdr_trigger_6 feature="wide_low_version" enable="true">
        <hdr_dead_dark_thres>10</hdr_dead_dark_thres>
        <hdr_over_exp_thres>254</hdr_over_exp_thres>
        <hdr_dead_dark_ratio_thres>0.09</hdr_dead_dark_ratio_thres>
        <hdr_over_exp_ratio_thres>0.02</hdr_over_exp_ratio_thres>
        <hdr_dead_centerdark_ratio_thres>0.05</hdr_dead_centerdark_ratio_thres>
        <hdr_over_centerexp_ratio_thres>0.005</hdr_over_centerexp_ratio_thres>
  </hdr_trigger_6>

  <hdr_default>
        <hdr_default_smooth_fin>2</hdr_default_smooth_fin>
        <hdr_default_smooth_fout>6</hdr_default_smooth_fout>
        <hdr_default_enable_aestatus>1</hdr_default_enable_aestatus>
  </hdr_default>

  <snsc_trigger>
        <snsc_motion_intensity_thres>20</snsc_motion_intensity_thres>
        <snsc_lux_idx_start>290</snsc_lux_idx_start>
        <snsc_lux_idx_end>400</snsc_lux_idx_end>
        <snsc_factor_delay_enable>1</snsc_factor_delay_enable>
        <snsc_delay_v0>15</snsc_delay_v0>
        <snsc_delay_fin>3</snsc_delay_fin>
        <snsc_delay_fout>14</snsc_delay_fout>
        <snsc_delay_margin>25</snsc_delay_margin>
        <snsc_dist_enable>0</snsc_dist_enable>
        <snsc_enter_dist>1.5</snsc_enter_dist>
  </snsc_trigger>

  <indoors_no_se>
        <indoors_no_se_enable>1</indoors_no_se_enable>
        <indoors_no_se_start_lux>240</indoors_no_se_start_lux>
        <indoors_no_se_end_lux>330</indoors_no_se_end_lux>
        <indoors_no_se_thres>1.2</indoors_no_se_thres>       
  </indoors_no_se>

  <hdr_se_ghost_proof>
        <ghost_hdr_gyro_thres>0.4</ghost_hdr_gyro_thres>
        <ghost_se_gyro_thres>0.4</ghost_se_gyro_thres>
        <ghost_L1_gyro_enable>0</ghost_L1_gyro_enable>
        <ghost_L1_zoom_motion_enable>0</ghost_L1_zoom_motion_enable>
        <ghost_L1_zoom_motion_thres>20</ghost_L1_zoom_motion_thres>
        <ghost_L1_zoom_motion_fin>3</ghost_L1_zoom_motion_fin>
        <ghost_L1_zoom_motion_fout>6</ghost_L1_zoom_motion_fout>
        <ghost_L1_se_motion_enable>0</ghost_L1_se_motion_enable>
        <ghost_L1_se_motion_thres>20</ghost_L1_se_motion_thres>
        <ghost_L1_se_motion_fin>3</ghost_L1_se_motion_fin>
        <ghost_L1_se_motion_fout>6</ghost_L1_se_motion_fout>
        <ghost_L1_face_enable>0</ghost_L1_face_enable>
        <ghost_L1_face_start_size_ratio>0.125</ghost_L1_face_start_size_ratio>
        <ghost_L1_face_size_margin>1.2</ghost_L1_face_size_margin>
        <ghost_L1_face_downsample_step>1</ghost_L1_face_downsample_step>
        <ghost_L1_face_roi_mean_thres>10</ghost_L1_face_roi_mean_thres>
  </hdr_se_ghost_proof>

</sceneDetection>
